Class symantec.itools.db.beans.brl.derivation.date.DateFunctionsHelper
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.brl.derivation.date.DateFunctionsHelper

Object
   |
   +----DerivationHelper
           |
           +----symantec.itools.db.beans.brl.derivation.date.DateFunctionsHelper

public class DateFunctionsHelper
extends DerivationHelper
DateFunctionsHelper class

Version:
1.0, 10/09/98
Author:
Puru Balakrishnan

Variable Index

 o DATEOP_ADD
 o DATEOP_CURRDATE
 o DATEOP_CURRTIME
 o DATEOP_SUBTRACT
 o DATEOP_UNKNOWN
public constants which define the different operations on date
 o EXCPTITLE
 o INVALID_INPUTS
 o INVALID_NUMCOLS_DATEADD
 o INVALID_NUMCOLS_DATESUBTRACT
 o INVALID_OUTTYPE
 o NUMCOLS_DATEADD
 o NUMCOLS_DATESUBTRACT
 o defCal
 o logWinHelper

Constructor Index

 o symantec.itools.db.beans.brl.derivation.date.DateFunctionsHelper()
Constructor

Method Index

 o calculate(DerivationRow, int, int)
Method which does the calculation
 o convertDateToDesiredType(Date, int)
 o isDateConversionOK(int)
 o performDateAdd(DerivationRow)
 o performDateSubtract(DerivationRow)

Variables

 o DATEOP_ADD
public static final int DATEOP_ADD
 o DATEOP_CURRDATE
public static final int DATEOP_CURRDATE
 o DATEOP_CURRTIME
public static final int DATEOP_CURRTIME
 o DATEOP_SUBTRACT
public static final int DATEOP_SUBTRACT
 o DATEOP_UNKNOWN
public static final int DATEOP_UNKNOWN
public constants which define the different operations on date

 o EXCPTITLE
protected static java.lang.String EXCPTITLE
 o INVALID_INPUTS
protected static java.lang.String INVALID_INPUTS
 o INVALID_NUMCOLS_DATEADD
protected static java.lang.String INVALID_NUMCOLS_DATEADD
 o INVALID_NUMCOLS_DATESUBTRACT
protected static java.lang.String INVALID_NUMCOLS_DATESUBTRACT
 o INVALID_OUTTYPE
protected static java.lang.String INVALID_OUTTYPE
 o NUMCOLS_DATEADD
protected static final int NUMCOLS_DATEADD
 o NUMCOLS_DATESUBTRACT
protected static final int NUMCOLS_DATESUBTRACT
 o defCal
protected transient java.util.Calendar defCal
 o logWinHelper
protected transient symantec.itools.db.beans.util.LogWindowHelper logWinHelper

Constructors

 o DateFunctionsHelper
public DateFunctionsHelper()
Constructor

Methods

 o calculate
public java.lang.Object calculate(DerivationRow inputRow,
                                  int outputDataType,
                                  int operatorType)
Method which does the calculation

 o convertDateToDesiredType
protected java.lang.Object convertDateToDesiredType(Date dateVal,
                                                    int outputType) throws Exception
 o isDateConversionOK
protected boolean isDateConversionOK(int type)
 o performDateAdd
protected java.util.Date performDateAdd(DerivationRow inputRow) throws Exception
 o performDateSubtract
protected java.util.Date performDateSubtract(DerivationRow inputRow) throws Exception

All Packages  Class Hierarchy  This Package  Previous  Next  Index